import { ref } from '@vue/runtime-core';
import type { XtxGuessInstance } from '@/types/components';


export const useGuessList = () => {
    // 猜你喜欢组件实例
    const guessRef = ref<XtxGuessInstance>()

    // 滚动到底部
    const onScrolltolower = () => {
        guessRef.value?.getHomeGoodsGuessLikeData()
    }

    return {
        guessRef,
        onScrolltolower
    }
}